package com.settlement.system.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.settlement.system.common.annotation.RoleAndStorePermission;
import com.settlement.system.model.entity.SysAudit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 标准核销表 Mapper 接口
 * </p>
 *
 * @author huangrensen
 * @since 2023-08-05
 */
@Mapper
public interface SysAuditMapper extends BaseMapper<SysAudit> {

    @RoleAndStorePermission
    Page<SysAudit> selectPage(Page<SysAudit> page, Wrapper<SysAudit> eq);

    int deleteByMonth(String billDate);
}
